package com.it.data_tree.tree.leetCodeTopic.tree;

/**
 * @Author: Coke
 * @DateTime: 2023/04/24/20:42
 * @注释: 力扣题目 涉及 树节点
 **/
public class TreeNode {
    public int val;
    public TreeNode left;
    public TreeNode right;
    
    public TreeNode (int val) {
        this.val = val;
    }
    
    public TreeNode (int val, TreeNode left, TreeNode right) {
        this.val = val;
        this.left = left;
        this.right = right;
    }
    
    public TreeNode () {
    }
}
